<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>更新用户</title>
</head>
<body>
<form action="/user/updateUser" method="post">
    <input type="hidden" th:value="${user.id}" name="id">
    用户名字：<input type="text" th:value="${user.name}" name="name" placeholder="请输入名字">
    用户年龄：<input type="text" th:value="${user.age}" name="age" placeholder="请输入年龄">
    <input type="submit" value="更新">
</form>
</body>
</html>